Skip to content

Make get_best_tx_ids_by_score_and_ancestry non-recursive#2070

Merged
ImplOfAnImpl merged 2 commits into
masterfrom
make_tx_ids_by_score_non_recursive
May 29, 2026
Merged

Make get_best_tx_ids_by_score_and_ancestry non-recursive#2070
ImplOfAnImpl merged 2 commits into
masterfrom
make_tx_ids_by_score_non_recursive

Conversation

@ImplOfAnImpl
Copy link
Copy Markdown
Contributor

get_best_tx_ids_by_score_and_ancestry is no longer recursive. Due to the cluster limits being introduced in #2063, this is no longer that important, because with the default cluster limits the max depth of the recursion will be small. But the non-recursive version still makes a bit of sense, as it prevents a mis-configured node from crashing.

P.S. I had to bump the min Rust version, because an std function I use (btree_map::Entry::insert_entry) requires Rust 1.92.

@ImplOfAnImpl ImplOfAnImpl force-pushed the make_tx_ids_by_score_non_recursive branch from 7717d7a to e029b8c Compare May 22, 2026 20:04
@ImplOfAnImpl ImplOfAnImpl marked this pull request as ready for review May 25, 2026 08:06
Base automatically changed from mempool_cluster_limits to master May 29, 2026 10:15
@ImplOfAnImpl ImplOfAnImpl merged commit 668cf18 into master May 29, 2026
20 checks passed
@ImplOfAnImpl ImplOfAnImpl deleted the make_tx_ids_by_score_non_recursive branch May 29, 2026 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants